package com.yonyou.gmmc.service.pointactivity.model;

import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.persistence.Column;
import javax.persistence.Id;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 短信接收人模型
 * 
 * @author 徐庆锋
 *
 */

public class TmSmsAccept {

	@Id
	@Column(name = "SMS_ACCEPT_ID")
	private String smsAcceptId;

	@Column(name = "SMS_PHONE")
	private Long smsPhone;

	@Column(name = "STATE")
	private Integer state;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name = "SEND_DATE")
	private Date sendDate;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name = "CREAT_DATE")
	private Date creatDate;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name = "UPDATE_DATE")
	private Date updateDate;

	@Column(name = "CREATE_BY")
	private Integer createBy;

	@Column(name = "UPDATE_BY")
	private Integer updateBy;


	public String getSmsAcceptId() {
		return smsAcceptId;
	}

	public void setSmsAcceptId(String smsAcceptId) {
		this.smsAcceptId = smsAcceptId;
	}

	public Long getSmsPhone() {
		return smsPhone;
	}

	public void setSmsPhone(Long smsPhone) {
		this.smsPhone = smsPhone;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getSendDate() {
		return sendDate;
	}

	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}

	public Date getCreatDate() {
		return creatDate;
	}

	public void setCreatDate(Date creatDate) {
		this.creatDate = creatDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Integer getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Integer createBy) {
		this.createBy = createBy;
	}

	public Integer getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(Integer updateBy) {
		this.updateBy = updateBy;
	}

}
